package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 拾贝作品收藏对象 danmo_collect_material
 *
 * @author yangle
 * @date 2024-10-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

public class DanmoCollectMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private Integer pageNum = 1;
    private Integer pageSize = 10;

    /** 拾贝收藏id */
    private Long id;

    /** 拾贝材质名称 */
    @Excel(name = "标记是否收藏")
    private String materialName;

    private Long userId;

    /** 拾贝id */
    private Long shellfishId;

    private List<DanmoCollectShellfish> danmoCollectShellfishList;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialName", getMaterialName())
            .append("userId", getUserId())
            .append("shellfishId", getShellfishId())
            .append("danmoCollectShellfishList", getDanmoCollectShellfishList())
            .toString();
    }
}
